<div class="twelve columns alpha">
    <div class="box">
        <div class="title"><img src="<?=url()?>templates/images/category.png" width="22">Thông tin cá nhân</div>
        <div class="wrap">
            <!--<div class="sub_info"></div>-->
            <form action="" method="post" name="frmcontacts" id="frmcontacts">
                <div class="tbl ten columns offset-by-two">
                	<ul>
                        <li class="fl">Username :</li>
                        <li class="fr"><?=$rs->username?></li>
                    </ul>
                    <ul>
                        <li class="fl">Email :</li>
                        <li class="fr"><?=$rs->lb_email?></li>
                    </ul>
                    <ul>
                        <li class="fl">Họ Tên :</li>
                        <li class="fr">
                            <input type="text" name="fullname" id="fullname" value="<?=$rs->fullname?>" size="45">
                        </li>
                    </ul>
                    <ul>
                        <li class="fl">Địa chỉ :</li>
                        <li class="fr">
                            <input type="text" name="address" id="address" value="<?=$rs->address?>" size="45">
                        </li>
                    </ul>
                    <ul>
                        <li class="fl">Điện thoại :</li>
                        <li class="fr">
                            <input type="text" name="nb_phone" id="nb_phone" value="<?=$rs->nb_phone?>" size="45">
                        </li>
                    </ul>
                    <ul>
                        <li class="fl">Giới tính : </li>
                        <li class="fr">
                        	<span>Nam <input name="gender" type="radio" value="1"></span>
                            <span style="padding-left:18px;">Nữ <input name="gender" type="radio" value="2"></span>
                        </li>
                    </ul>
                    <!--<ul>
                        <li class="fl">Ngày sinh :</li>
                        <li class="fr"><input type="text" name="birthday" id="birthday" value="<?//=date('d/m/Y', strtotime($rs->birthday))?>" size="45"></li>
                    </ul>-->
                    <ul>
                        <li class="fl">Tỉnh/Thành phố :</li>
                        <li class="fr">
                            <select name="town_id" id="town_id">
                                <?=$op_town?>
                            </select>
                        </li>
                    </ul>
                    <ul>
                        <li class="fl">Yahoo :</li>
                        <li class="fr"><input type="text" name="lb_yahoo" id="lb_yahoo" value="<?=$rs->lb_yahoo?>" size="45"></li>
                    </ul>
                    <ul>
                        <li class="fl">Skype :</li>
                        <li class="fr">
                            <input type="text" name="lb_skype" id="lb_skype" value="<?=$rs->lb_skype?>" size="45">
                        </li>
                    </ul>
                    <ul>
                        <li class="fl">FaceBook :</li>
                        <li class="fr">
                            <input type="text" name="lb_fbook" id="lb_fbook" value="<?=$rs->lb_fbook?>" size="45">
                        </li>
                    </ul>
                    <ul >
                        <li class="fl">&nbsp;</li>
                        <li class="fr">
                            <input name="bt_submit" type="submit" value="Cập nhật" style="width:100px;" />
                        </li>
                    </ul>
                </div>
            </form>
        </div>
    </div>
</div>
<script language="javascript">
$(document).ready(function(e) {
	mkselected('town_id','<?=$rs->town_id?>');
	var $radios = $('input:radio[name=gender]');
	$radios.filter('[value=<?=$rs->gender?>]').prop('checked', true);
});
</script>
